package com.sy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sy.pojo.Admins;
import com.sy.vo.AdminsPageVO;
import io.swagger.v3.oas.models.security.SecurityScheme;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminsMapper extends BaseMapper<Admins> {
   /*
    * @Author Mr.Liu
    * @Description //TODO 分页查询
    * @Date 10:06 2025/10/31
    * @Param [keyword, status]
    * @return java.util.List<com.sy.vo.AdminsPageVO>
    **/
   List<AdminsPageVO>  adminsPage(@Param("keyword") String keyword, @Param("status") Integer status);
   /*
    * @Author Mr.Liu
    * @Description //TODO 员工编辑
    * @Date 10:02 2025/10/31
    * @Param [admins]
    * @return int
    **/
   int updateByPrimaryKeySelective(Admins admins);
}